package com.rabbiter.mapper;

import com.rabbiter.entity.ApprovalFlows;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface ApprovalFlowsMapper {
    int deleteByPrimaryKey(Integer flowId);

    int insert(ApprovalFlows record);

    int insertOrUpdate(ApprovalFlows record);

    int insertOrUpdateSelective(ApprovalFlows record);

    int insertSelective(ApprovalFlows record);

    ApprovalFlows selectByPrimaryKey(Integer flowId);

    int updateByPrimaryKeySelective(ApprovalFlows record);

    int updateByPrimaryKey(ApprovalFlows record);

    int updateBatch(List<ApprovalFlows> list);

    int updateBatchSelective(List<ApprovalFlows> list);

    int batchInsert(@Param("list") List<ApprovalFlows> list);
}